package data.nanjing.expo.models.domain.exhibition;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.omg.CORBA.INTERNAL;
import sun.rmi.server.InactiveGroupException;

import java.net.InetAddress;
import java.util.Date;

/**
 * 展位信息
 *
 * @author ChanJi
 * @create 2018-05-23 22:51
 * stand
 **/
public class Stand{

    private Integer id;

    /**
     * 创建时间
     * gmt_create
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    /**
     * 上次更新时间
     * gmt_modified
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date  updateTime;
    /**
     * 展位名称
     * stand_name
     */
    private String word;

    /**
     * 展位编号后的数字
     */
    private Integer number;
    /**
     * 展会id
     */
    private Integer expoId;

    /**
     * 展馆id
     */
    private Integer hallId;
    /**
     * 展区id
     * area_id
     */
    private Integer areaId;

    /**
     * 验证码
     */
    private String verifyCode;
    /**
     * 使用验证码的用户id
     */
    private Integer userIdUsedCode;
    /**
     * 验证码的状态
     */
    private String codeStatus;
    /**
     * 参展商登陆的展位编号名称
     */
    private String participantStandName;
    /**
     * 参展商登陆的展区的名称
     */
    private String participantAreaName;
    /**
     * 登陆的参展商的id
     */
    private Integer participantId;
    /**
     * 登陆的参展商的展馆id
     */
    private Integer participantHallId;

    public Stand(){

    }

    public Stand(Integer expoId, Integer hallId, Integer areaId, String word, int number, Date createTime, Date updateTime) {
    this.expoId = expoId;
    this.hallId = hallId;
    this.areaId = areaId;
    this.word = word;
    this.number = number;
    this.createTime = createTime;
    this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getExpoId() {
        return expoId;
    }

    public void setExpoId(Integer expoId) {
        this.expoId = expoId;
    }

    public Integer getHallId() {
        return hallId;
    }

    public void setHallId(Integer hallId) {
        this.hallId = hallId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public Integer getUserIdUsedCode() {
        return userIdUsedCode;
    }

    public void setUserIdUsedCode(Integer userIdUsedCode) {
        this.userIdUsedCode = userIdUsedCode;
    }

    public String getCodeStatus() {
        return codeStatus;
    }

    public void setCodeStatus(String codeStatus) {
        this.codeStatus = codeStatus;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getParticipantStandName() {
        return participantStandName;
    }

    public void setParticipantStandName(String participantStandName) {
        this.participantStandName = participantStandName;
    }

    public Integer getParticipantId() {
        return participantId;
    }

    public void setParticipantId(Integer participantId) {
        this.participantId = participantId;
    }

    public Integer getParticipantHallId() {
        return participantHallId;
    }

    public void setParticipantHallId(Integer participantHallId) {
        this.participantHallId = participantHallId;
    }

    public String getParticipantAreaName() {
        return participantAreaName;
    }

    public void setParticipantAreaName(String participantAreaName) {
        this.participantAreaName = participantAreaName;
    }

    @Override
    public String toString() {
        return "Stand{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", word='" + word + '\'' +
                ", number=" + number +
                ", expoId=" + expoId +
                ", hallId=" + hallId +
                ", areaId=" + areaId +
                ", verifyCode='" + verifyCode + '\'' +
                ", userIdUsedCode=" + userIdUsedCode +
                ", codeStatus='" + codeStatus + '\'' +
                ", participantStandName='" + participantStandName + '\'' +
                ", participantAreaName='" + participantAreaName + '\'' +
                ", participantId=" + participantId +
                ", participantHallId=" + participantHallId +
                '}';
    }
}
